package o;

import android.os.Handler;
import android.os.Handler.Callback;
import android.os.Looper;
import android.os.Message;

class tv {
    private boolean ˋ;
    private final Handler ˎ = new Handler(Looper.getMainLooper(), new e());

    static final class e implements Callback {
        e() {
        }

        public boolean handleMessage(Message message) {
            if (message.what != 1) {
                return false;
            }
            ((tx) message.obj).ॱॱ();
            return true;
        }
    }

    tv() {
    }

    synchronized void ˋ(tx<?> txVar) {
        if (this.ˋ) {
            this.ˎ.obtainMessage(1, txVar).sendToTarget();
        } else {
            this.ˋ = true;
            txVar.ॱॱ();
            this.ˋ = false;
        }
    }
}
